
/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录表单
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@ApiModel(value = "用户表单")
public class UserOrderForm {
    @ApiModelProperty(value = "条数")
    @NotBlank(message="条数不能为空")
    private Integer length;

    @ApiModelProperty(value = "当前页")
    @NotBlank(message="当前页不能为空")
    private Integer page;

}
